#!/bin/csh -f
set fname="hkl.out"
if (! -e INPUT/DFIT/ii-log.agr ) then 
    echo "Grace parameter file INPUT/DFIT/ii-log.agr does not exist"
    exit
endif
if ( $# > 0 ) then
    if (-e $1 ) set fname=$1
endif
if (! -e $fname ) then
    echo "Default datafile hkl.out does not exist"
    exit
endif
xmgrace -autoscale none -param INPUT/DFIT/ii-log.agr $fname &
##

